home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 #1 / Ham Radio 2000.iso / ham2000 / tcp_ip / docs / cmdshlp8 / ax25 < prev    next >
Encoding:
Text File  |  1996-06-14  |  16.6 KB  |  415 lines

  1.  
  2. ax25 <subcommands>
  3.  
  4.      All AX.25 parameters are configurable per interface.  Commands of
  5.      the form 'ax25 <command>' set the default or global values.  Use
  6.      the 'ifconfig <iface> ax25 <command>' form to set or show the
  7.      interface-specific values.
  8.  
  9.      To set the system default ax.25 parameters, you must do so BEFORE
  10.      attaching interfaces.  After attachment, you must use the 'ifconfig
  11.      <iface> ax25' command form to show or change values for that interface.
  12.      THIS IS A CHANGE FROM THE BEHAVIOUR EXHIBITED PRIOR TO JNOS VERSION
  13.      1.10X16, RELEASED 08FEB94.
  14.  
  15.  
  16.     ax25 alias <aliascall>
  17.  
  18.      The alias command shows or sets the system's alias call. If
  19.      netrom is enabled, this modifies the same call as the 'netrom
  20.      alias' command.  The 'ax25 alias' command is NOT needed in that
  21.      case!  If netrom is not used, this command allows an alias name
  22.      to be set such that users can connect to it.  The alias is typically
  23.      a short string and should not be a valid callsign, since any SSID
  24.      is ignored when matching against <aliascall>.
  25.          Example:  ax25 alias knx
  26.      
  27.  
  28.     ax25 bbscall [<bbs_call>]
  29.  
  30.      The bbscall subcommand sets or shows the current bbs callsign.
  31.      Connects to this callsign, when set properly, will "jump-start"
  32.      the mailbox.  That is, after the connect no additional packet
  33.      need be sent to obtain the mailbox greeting.  This subcommand
  34.      will automatically set the bbscall for all currently-attached
  35.      AX.25-class interfaces with no bbscall set.  For bbscall to
  36.      function properly, it must differ from the system alias/netrom
  37.      alias, as well as the link address of the interface (usually
  38.      set by 'ax25 mycall').
  39.  
  40.      See also 'ifconfig <iface> bbscall <bbs_call>'.
  41.  
  42.           #Example: (in the following order)
  43.  
  44.           'ax25 mycall N5KNX-1'
  45.           'ax25 alias KNX'
  46.           'ax25 bbscall N5KNX'
  47.           'attach <(all interfaces)>'
  48.  
  49.           or
  50.           
  51.           'ifconfig <name> bbscall <bbscall>'   sets only iface <name>
  52.  
  53.  
  54.     ax25 bc <iface>
  55.  
  56.      The bc command  forces an immediate broadcast on the given
  57.      interface.  The particular interface or port must have been
  58.      enabled with the ax25 bcport command first. If this is so, the ID
  59.      will be broadcast as set with the ax25 bctext commands.
  60.      
  61.           ax25 bc port1
  62.     
  63.  
  64.     ax25 bcinterval [<seconds>]
  65.  
  66.      (B)  The bcinterval displays or sets the time in seconds between
  67.      broadcasts.  On display, both the interval and the countdown
  68.      values are shown. Default = 600 (10 minutes).
  69.      
  70.      
  71.     ax25 bcport [<iface> [on | OFF]]
  72.  
  73.      Display or set the active interfaces for ax.25 broadcasting (i.e.
  74.      beacons).  If no interface is given, all interfaces with ax.25
  75.      beaconing enabled will be listed.  If interface is given, the
  76.      status of beaconing for that interface is shown, or set according
  77.      to the following on or off option.  Initial state is off.
  78.      
  79.           ax25 bcport port1 on
  80.           
  81.           
  82.     ax25 bctext ["broadcast text"]
  83.  
  84.      Display or set the default text to be sent for broadcast messages
  85.      sent out every ax25 bcinterval seconds.
  86.      
  87.  
  88.      See also 'ifconfig <iface> beacon ["bctext"].
  89.  
  90.           ax25 bctext "This is the beacon text!"
  91.           
  92.           
  93.     ax25 blimit [<value>]                             Default: 30
  94.  
  95.      (B)  Display or set the default AX25 retransmission backoff
  96.      limit.  Normally each successive AX25 retransmission is delayed
  97.      by twice the value of the previous interval; this is called
  98.      binary exponential backoff.  When 2^(retrycount) reaches or ex-
  99.      ceeds the blimit <value>, the retry interval is no longer increased.
  100.      
  101.      To prevent the possibility of "congestive collapse" on a loaded
  102.      channel, blimit should be set at least as high as the number of
  103.      stations sharing the channel.  Note that this is applicable only
  104.      on actual AX25 connections; UI frames will never be retransmitted
  105.      by the AX25 layer.  See also ax25 maxwait, and ax25 timertype.
  106.      
  107.           #Set ax25 blimit to 15
  108.           ax25 blimit 15          
  109.           
  110.  
  111.     ax25 dest [<iface>]
  112.  
  113.      Display the destinations saved in the heard list, for all interfaces
  114.      with heard list maintenance enabled, or for the just the specified
  115.      interface.  See also "ax25 heard".
  116.  
  117.  
  118.     ax25 digipeat [<iface> [ON | off]]
  119.  
  120.      Display or set digipeating per interface.   If no interface is
  121.      given, all interfaces with digipeating enabled will be listed. If
  122.      interface is given, the status of digipeating for that interface
  123.      is shown, or set according to the following on or off option.  If
  124.      cross-band or AXIP digipeating is to be allowed, digipeating must
  125.      be enabled on both interfaces involved.  Default is on.
  126.      
  127.           # Display digipeat status of port1
  128.           ax25 digipeat port1
  129.           
  130.           
  131.     ax25 filter N                    Default: 0
  132.  
  133.      Sets the ax.25 heard list filtering value.  This is a global value
  134.      that affects all ports with heard list maintenance set to ON.
  135.      0  =>  log both source and destination callsigns
  136.      1  =>  do not log source callsign
  137.      2  =>  do not log destination callsign
  138.      3  =>  do not log any callsign, ie, disable all heard list updates
  139.      
  140.  
  141.     ax25 flush
  142.  
  143.      Clears the AX.25 "heard" list (see ax25 heard and ax25 hport)
  144.      
  145.  
  146.     ax25 heard [<iface>]
  147.  
  148.      Display the AX.25 "heard" list. For each interface that is
  149.      configured to use AX.25 heard listing (see 'ax25 hport'), a list
  150.      of all ax25_source addresses heard on that interface is shown,
  151.      along with a count of the number of packets heard from each
  152.      station and the time since each station was last heard. The
  153.      maximum length of the heard table can be set with the 'ax25
  154.      hsize' command.  If interface is given, only the heard list for
  155.      that interface is displayed.
  156.  
  157.           ax25 heard port1
  158.           
  159.           
  160.     ax25 hport [<iface> [ON | off]]
  161.  
  162.      Display or set the status of the ax.25 heard feature.  If no
  163.      interface is given, all interfaces with ax.25 heard enabled will
  164.      be listed.  If interface is given, the status of ax.25 heard for
  165.      that interface is shown, or set according to the following on or
  166.      off option.  Default is on.
  167.           
  168.           #Display port1 status
  169.           ax25 hport port1
  170.           
  171.           
  172.     ax25 hsize [<size>]
  173.  
  174.      Set or display the size of the heard list table.  Default is 0
  175.      which means no limit.
  176.      
  177.      
  178.     ax25 irtt [<milliseconds>]
  179.  
  180.      (B)  Display or set the initial value of smoothed round trip time
  181.      to be used when a new AX25 connection is created.  The actual
  182.      round trip time will be learned by measurement once the
  183.      connection has been established.  Default is 5000ms.
  184.           #Set irtt to 10 seconds  (10000 milliseconds)
  185.           ax25 irtt 10000
  186.           
  187.           
  188.     ax25 kick <axcb>
  189.  
  190.      Force a retransmission on the specified AX.25 control block.  The
  191.      control block address can be found with the ax25 status command.
  192.      This is useful to reactivate connections that have long time-out
  193.      values.
  194.      
  195.  
  196.     ax25 maxframe [<count>]
  197.  
  198.      (B)  Establish the maximum number of frames that will be allowed
  199.      to remain unacknowledged at one time on new AX.25 connections.
  200.      This number cannot be greater than 7. Without <count> it will
  201.      display the current setting. Note that the maximum outstanding
  202.      frame count only works with virtual connections. UI frames are
  203.      not affected. Also note that for optimal performance, a value of
  204.      1 should be used.  Default is 1 frame.
  205.      
  206.      
  207.     ax25 maxwait [<msec>]
  208.  
  209.      Sets a limit (in msec) to the retry timeout values.  Default =
  210.      30000 (30 secs).  A value of 0 disables maxwait.
  211.      
  212.      
  213.     ax25 mycall [<ax25call>]
  214.  
  215.      Display or set the default local AX.25 address.  The standard
  216.      format is used, (e.g. WG7J or KA7EHK-5).  This command must be
  217.      given before any attach commands using AX.25 mode are given.
  218.           
  219.           ax25 mycall wg7j-3
  220.           
  221.           
  222.     ax25 paclen [<size>]
  223.  
  224.      (B)  This sets the default paclen used when attaching interfaces
  225.      that will carry AX.25 connections. See also 'ifconfig <iface>
  226.      paclen'. Default is 256 bytes.
  227.      This parameter limits the size of I-fields on new AX.25
  228.      connections.  If IP datagrams or fragments of datagrams larger
  229.      than paclen are transmitted, they will be transparently
  230.      fragmented at the AX.25 level, sent as a series of I frames, and
  231.      reassembled back into a complete IP datagram or fragment at the
  232.      other end of the link.  IP datagrams will not be affected if this
  233.      parameter is greater than or equal to the MTU of the associated
  234.      interface.
  235.      If NET/ROM communication is configured, the NetRom MTU value
  236.      should be Paclen - 20. !!!  The Net/Rom header takes 20 bytes,
  237.      and is part of the AX25 data.  Default netrom mtu is 236.
  238.      
  239.      Note1:  the AX.25 Level 2 Version 2 definition specifies a
  240.      maximum paclen of 256 bytes. Some systems are not equipped to
  241.      handle larger packets (e.g. G8BPQ based systems), so be careful
  242.      when using this parameter.
  243.      
  244.      Note2:  see also the section 'Of PACLEN, MTU, MSS, and More'
  245.      in the JNOS40 Configuration Manual.
  246.      
  247.  
  248.     ax25 pthresh [<size>]
  249.  
  250.      (B)  Display or set the poll threshold to be used for new AX.25
  251.      Version 2 connections.  The poll threshold controls
  252.      retransmission behavior as follows. If the oldest unacknowledged
  253.      I-frame size is less than the poll threshold, it will be sent
  254.      with the poll (P) bit set if a time-out occurs. If the oldest
  255.      unacked I-frame size is equal to or greater than the threshold,
  256.      then a RR or RNR frame, as appropriate, with the poll bit set
  257.      will be sent if a time-out occurs.
  258.      The idea behind the poll threshold is that the extra time needed
  259.      to send a "small" I-frame instead of a supervisory frame when
  260.      polling after a time-out is small, and since there's a good
  261.      chance the I-frame will have to be sent anyway (i.e., if it were
  262.      lost previously) then you might as well send it as the poll.  But
  263.      if the I-frame is large, send a supervisory (RR/RNR) poll instead
  264.      to determine first if retransmitting the oldest unacknowledged I-
  265.      frame is necessary; the time-out might have been caused by a lost
  266.      acknowledgment.  This is obviously a tradeoff, so experiment with
  267.      the poll threshold setting. The default is 128 bytes, one half
  268.      the default value of <paclen>
  269.      
  270.  
  271.     ax25 reset <axcb>
  272.  
  273.      Delete the AX.25 connection control block at the specified
  274.      address. This deletes a connection and everything associated with
  275.      it. The control block address can be found with the 'ax25 status'
  276.      command.
  277.      
  278.  
  279.     ax25 retries [<count>]
  280.  
  281.      (B)  Limit the number of successive unsuccessful retransmission
  282.      attempts  on  new AX.25  connections.  If this  limit is
  283.      exceeded, link re-establishment is attempted.  If the link can't
  284.      be re-established in <count> times, then the connection  is
  285.      abandoned and all queued data is deleted.  Default is 5.
  286.           
  287.  
  288.     ax25 route [<subcommand>]
  289.  
  290.      Without optional subcommands, display the AX.25 routing table
  291.      that specifies the digipeaters to be used  in reaching a given
  292.      station.
  293.  
  294.  
  295.        ax25 route add <target> <iface> [[via] digis ...]
  296.        ax25 route perm <target> <iface> [[via] digis ...]
  297.  
  298.         Add an entry to the AX.25 routing table.  The route added may
  299.         be replaced automatically by a new one, unless "perm" is used
  300.         instead of "add".  Replacement may occur when digipeaters are
  301.         specified in an AX25 link from the node or a connection is
  302.         received from a remote station via digipeaters.  Such automatic
  303.         replacement is usually desirable; use "route add perm ..." to
  304.         prevent this where necessary.
  305.  
  306.         <target> is the destination call to reach via digipeaters.
  307.         <iface> is the interface to use for this route, i.e. Jnos allows
  308.            different digi routes for different interfaces.
  309.         [digis...] is a list of one or more digipeaters, separated by
  310.            spaces and/or commas.  The keyword "via" is optional.
  311.           
  312.           ax25 route add k7uyx-1 port1 wg7j wa7tas n7dva
  313.           ax25 route perm k7uyx-1 port1 wg7j wa7tas n7dva
  314.           
  315.           
  316.        ax25 route drop <target> <iface>
  317.  
  318.         Drop an entry for <target> from the AX.25 routing table.
  319.  
  320.                     ax25 route drop k7uyx-1 port1
  321.           
  322.           
  323.        ax25 route mode <target> <iface> [vc|dg|interface]
  324.  
  325.         Sets the interface ip mode to one of  vc | datagram |
  326.         interface for target.  This indicates how ip links to the
  327.         destination call <target> should be established.  If nothing
  328.         is given for a certain destination or target, the interface
  329.         default mode is used, which defaults to datagram.  (See also
  330.         the 'mode' command).
  331.         vc        is a virtual circuit (ax25 connected mode, meaning
  332.                   that ip frames are sent using ax.25 connections)
  333.         datagram  is unconnected mode, (AX25 UI frames).
  334.         interface is the default interface mode, as set with the
  335.                   'mode' command.
  336.         
  337.           ax25 route mode k7uyx-1 port1 vc
  338.           
  339.  
  340.     ax25 status [<axcb>]
  341.  
  342.      Without an argument, display a one-line summary of each AX.25
  343.      control block.  If the address of a particular control block is
  344.      specified, the contents of that control block is shown in more
  345.      detail. Note that the send queue units are frames, while the
  346.      receive queue units are bytes.
  347.      
  348.  
  349.     ax25 t2 [<milliseconds>]                           Default: 1000
  350.  
  351.      Display or set the AX.25 "resptime" timer. Value is in milli-
  352.      seconds. Default is 1000ms, and minimum is 0ms.  This timer lets
  353.      Jnos eliminate some redundant transmissions and optimize what it
  354.      sends by possibly adding ACKs to I-frames, by delaying the trans-
  355.      mission of packets.  A value of zero disables the use of the t2
  356.      timer.
  357.      
  358.  
  359.     ax25 t3 [<milliseconds>]                           Default: 0
  360.  
  361.      (B)  Display or set the AX.25 idle "keep alive" timer. Value is
  362.      in milliseconds. Default is 0, i.e. no 'keep-alive' polling.
  363.      
  364.  
  365.     ax25 t4 [<seconds>]                                Default: 300
  366.  
  367.      (B)  Display or set the AX.25 Link "redundancy" timer. Value is
  368.      in seconds. When no exchange has been had during this time the
  369.      link is reset and closed. Default = 300 seconds (5 minutes).
  370.      
  371.  
  372.     ax25 timertype [LINEAR|exponential|original]
  373.  
  374.      (B)  Sets or displays the type of timer used for retransmission
  375.      and recovery.  Linear means that each retry will use a time-out
  376.      that is RTT greater then the previous time-out. I.e. 4 sec, 8
  377.      sec, 12 sec, 16 seconds etc.  Exponential means that each retry
  378.      will use a time-out that is twice as large as the previous time-
  379.      out. I.e. 4 seconds, 8 seconds, 16 seconds, 32 seconds etc.
  380.      Original means that each retry will use a time out that is twice
  381.      the RTT, i.e. 4 seconds, 8 seconds, 8 seconds, 8 seconds, etc.
  382.      Default is linear.
  383.      
  384.           ax25 timertype exponential
  385.  
  386.  
  387.     ax25 ttycall [ttycall]
  388.  
  389.      Set or display the tty-link call for direct keyboard access.
  390.      Remember to have both 'attended on' and 'mbox attend on' to be
  391.      able to use this function.
  392.      
  393.      
  394.     ax25 version [n]
  395.  
  396.      (B)  Display or set the version of the AX.25 protocol to attempt
  397.      to  use  on  new connections.  Version 1 is the version that does
  398.      not use the poll/final bits.  Default is version 2.
  399.      
  400.  
  401.     ax25 window [<size>]                             Default: 512 bytes
  402.  
  403.      (B)  Set the number of bytes that can be pending on an AX.25
  404.      receive queue  beyond which  I  frames will be answered with RNR
  405.      (Receiver Not Ready) responses. This presently applies only to
  406.      suspended interactive  AX.25  sessions,  since incoming  I-frames
  407.      containing  network (IP, NET/ROM) packets are always processed
  408.      immediately and are not placed on the receive queue.  However,
  409.      when an AX.25 connection carries both interactive and network packet
  410.      traffic, an RNR generated because of backlogged interactive traffic
  411.      will also stop network packet traffic from being sent.
  412.  
  413.      
  414.  
  415.